<template>
  <a-modal
    :visible="visible"
    title="详情"
    cancelText="取消"
    okText="提交"
    width="60%"
    @ok="submit"
    @cancel="cancel"
  >
    <div>
      <a-descriptions title="">
        <a-descriptions-item label="联系人姓名">TOM</a-descriptions-item>
        <a-descriptions-item label="所属部门">TOM</a-descriptions-item>
        <a-descriptions-item label="职位">教导主任</a-descriptions-item>
        <a-descriptions-item label="所属学校">四川大学</a-descriptions-item>
        <a-descriptions-item label="负责人">张三</a-descriptions-item>
        <a-descriptions-item label="电话">17718972494</a-descriptions-item>
        <a-descriptions-item label="Email">-</a-descriptions-item>
        <a-descriptions-item label="性别">男</a-descriptions-item>
        <a-descriptions-item label="状态">联系中</a-descriptions-item>
        <a-descriptions-item label="办公地址">
          No. 18, Wantang Road, Xihu District, Hangzhou, Zhejiang, China
        </a-descriptions-item>
        <a-descriptions-item label="创建人">李冰</a-descriptions-item>
        <a-descriptions-item label="创建时间">2020-09-14 14:22:22</a-descriptions-item>
      </a-descriptions>
    </div>
  </a-modal>
</template>

<script>
export default {
  name: "info",
  props: {
    visible: {
      type: Boolean,
    },
  },
  setup(props, content) {
    const cancel = () => {
      content.emit('close')
    }

    return {
      cancel
    }
  }
}
</script>

<style scoped>

</style>
